﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SchoolAdmin.aspx.cs" Inherits="HealthSystem.SchoolAdmin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="panle1" />
     <ext:Panel  runat="server" ID="panle1" Layout="Fit" Title="学校管理员">
        <Toolbars>
            <ext:Toolbar runat="server" ID="toolbar">
                <Items>
                    <ext:Label runat="server" Text="范围选择：" id="lable1"></ext:Label>
                    <ext:TriggerBox runat="server" ID="searchbt" Text="范围选择" OnClientTriggerClick="DistrictClick"></ext:TriggerBox>
                    <ext:HiddenField runat="server" ID="districtid"></ext:HiddenField>
                    <ext:HiddenField runat="server" ID="action"></ext:HiddenField>
                    <ext:ToolbarSeparator runat="server"></ext:ToolbarSeparator>
                    <ext:Label runat="server" Text="搜索：" ID="searchlable"></ext:Label>
                    <ext:TriggerBox runat="server" TriggerIcon="Search" ID="searchbt2" OnTriggerClick ="SearchClick"></ext:TriggerBox>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Grid runat="server" ID="Gird1" DataKeyNames="XX_UserName" AllowPaging="true" EnableTextSelection="true" IsDatabasePaging="true" EnableRowNumber="true"
             OnRowDoubleClick="Grid1_DoubleClick" EnableRowDoubleClick="true" ShowHeader="false" OnPageIndexChange="PageIndexChange" OnRowCommand="Grid1_RowCommand">
                <Columns>
                    <ext:BoundField DataField="XX_UserName" HeaderText="帐户" />
                    <ext:BoundField DataField="name" HeaderText="学校名称" />
                    <ext:BoundField DataField="CNName" HeaderText="名字" />
                    <ext:BoundField DataField="OfficePhone" HeaderText="联系电话" />
                    <ext:BoundField DataField="SchoolCharacter" HeaderText="学校性质" />
                    <ext:BoundField DataField="SchoolType" HeaderText="学校类型" />
                    <ext:LinkButtonField HeaderText="重置密码" TextAlign="Center" ConfirmText="你确定要重置密码？" ConfirmTarget="Top"
                ColumnID="lbfAction2" Width="70px" CommandName="reset" Text="重置密码" />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
     <ext:Window ID="Window1" CloseAction="HidePostBack" runat="server" IsModal="true" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
        Width="750px" Height="450px" OnClose="Window1_Close">
    </ext:Window>
    </form>
</body>
</html>
